Signed-off-by: Dan Smith <danms@us.ibm.com>
Signed-off-by: Ewan Mellor <ewan@xensource.com>
# Specifying the empty string '' allows all connections.
(console-address 'localhost')
+# The limit (in kilobytes) on the size of the console buffer
+(console-limit 1024)
+
## Use the following if VIF traffic is routed.
# The script used to start/stop networking for xend.
#(network-script network-route)
to_store = {
'domid': str(self.domid),
'vm': self.vmpath,
-
+ 'console/limit': str(xroot.get_console_limit() * 1024),
'memory/target': str(self.info['memory_KiB'])
}
def get_dom0_vcpus(self):
return self.get_config_int('dom0-cpus', self.dom0_vcpus_default)
+ def get_console_limit(self):
+ return self.get_config_int('console-limit', 1024)
+
def instance():
"""Get an instance of XendRoot.
Use this instead of the constructor.